<?php $this->load->view('_header') ?>
<script type="text/javascript">

$(document).ready(function(){
	setCurrentMenu(1);
	$("#kw").focus(function(){
		$(this).val("");
		$(this).removeClass("notext");
	});
	$("#kw").blur(function(){
		if($(this).val()==""){
			$(this).val("您的所在地址，例如北京邮电大学");
			$(this).addClass("notext");
		}
	});
});
</script>



<!-- 主搜索框 -->
<div class="row mt10 bk_fff gp_border_thick">
<div>
	<!--
	<div id="home_search_container" class="col g14">
		<div class="wozai_label">&nbsp;&nbsp;&nbsp;&nbsp;</div>
		<form class="zaina_form" name="zaina" action="<?php echo base_url().'home/search'?>"
			method="post">
			<div class="outter">
				<div class="inner">
					<input id="kw" class="notext ac_input" type="text"
						value=" 您所在的地址，例如北京邮电大学" name="kw" autocomplete="off"> 
						<span class="button_wrapper">
							<button value="找餐馆" type="submit">
							<div class=""></div>
							</button> 
						</span>
				</div>
			</div>
			
			<div id="inline_address_list" class="inline_list">
				<div>
					<label>热门地区:</label>
					<ul>
					<?php foreach($query as $row) {?>
						<li><a href="<?php echo base_url().'home/entry/at/'.$row['id']?>"><?php  echo $row['name']; ?></a></li>
					<?php }?>
					</ul>
				</div>
			</div>
		</form>
	</div>
	-->
	<div class="place_all mt10">
		<div class="place_title">
			海淀地区:
		</div>
		<div class="place_list">
			<ul>
				<?php foreach($query as $row) {?>
					<li><a href="<?php echo base_url().'home/entry/at/'.$row['id']?>"><?php  echo $row['name']; ?></a></li>
				<?php }?>
			</ul>
		</div>
	</div>
</div>
</div> <!-- end of Main -->
<!-- How it works! -->
<div class="row bk_fff thinW gp_border_thin marginTB"> 
	<div class="howItWorks">
	</div> 
</div>

<?php $this->load->view('_footer') ?>